package com.ouyangtao.dao.factory;

import com.ouyangtao.dao.*;
import com.ouyangtao.dao.impl.*;

public class DAOFactory {

    /**
     * 获取任务管理
     * @return
     */
    public static ITaskDAO getTaskDAO(){
        return new TaskDAOImpl();
    }

    public static ISessionAggStatDAO getSessionAggStatDAO(){
        return new SessionAggStatDAOImpl();
    }

    public static ISessionRandomExtractDAO getSessionRandomExtractDAO(){
        return new SessionRandomExtractDAOImpl();
    }

    public static ISessionDetailDAO getSessionDetailDAO(){
        return new SessionDetailDAOImpl();
    }

    public static ITop10CategoryDAO getTop10CategoryDAO(){
        return new Top10CategoryDAOImpl();
    }

    public static ITop10SessionDAO getTop10SessionDAO(){
        return new Top10SessionDAOImpl();
    }

    public static IPageSplitConvertRateDAO getPageSplitConvertRateDAO(){
        return new PageSplitConvertRateDAOImpl();
    }

    public static IAreaTop3ProductDAO getAreaTop3ProductDAO(){
        return new AreaTop3ProductDAOImpl();
    }

    public static IAdUserClickCountDAO getAdUserClickCountDAO() {
        return new AdUserClickCountDAOImpl();
    }

    public static IAdBlackListDAO getBlackListDAO(){
        return new AdBlackListDAOImpl();
    }

    public static IAdClickTrendDAO getAdClickTrendDAO(){
        return new AdClickTrendDAOImpl();
    }

    public static IAdProvinceTop3DAO getAdProvinceTop3DAO(){
        return new AdProvinceTop3DAOImpl();
    }

    public static IAdStatDAO getAdStatDAO(){
        return new AdStatDAOImpl();
    }

}
